package zhu.areas.tenderbid.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import zhu.areas.user.data.User;

public class TenderDispPK implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private  TenderApp   appForm;   
	private  User  auditOperator;      
	
	
	/** 
	*@hibernate.many-to-one class="zhu.areas.tenderbid.data.TenderApp"	
	* column="AppFormID" 
	*/
	public TenderApp getAppForm() {
		return appForm;
	}
	public void setAppForm(TenderApp appForm) {
		this.appForm = appForm;
	}
	
	

	/** 
	*@hibernate.many-to-one class="zhu.areas.user.data.User"	
	* column="AuditOperatorID" 
	*/
	public User getAuditOperator() {
		return auditOperator;
	}
	public void setAuditOperator(User auditOperator) {
		this.auditOperator = auditOperator;
	}
	
	
	
	/**
	 * Overriden toString method.
	 * 
	 * @return string
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}

	/**
	 * Overridden equals method.
	 * 
	 * @param o object
	 * @return true/false
	 */
	public boolean equals(Object o) {
		return EqualsBuilder.reflectionEquals(this, o);
	}

	/**
	 * Creates object hash code.
	 * 
	 * @return int
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}
	
}
